package com.dingdang.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_details")
@ApiModel(value="OrderDetails对象", description="")
public class OrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单Id")
    @TableField("order_id")
    private Long orderId;

    @TableField("car_id")
    private String carId;

    @ApiModelProperty(value = "用户id")
    @TableField("uid")
    private Long uid;

    @TableField("pic_path")
    private String picPath;

    @ApiModelProperty(value = "卖家名称")
    @TableField("seller_name")
    private String sellerName;

    @ApiModelProperty(value = "实付金额")
    @TableField("payment")
    private BigDecimal payment;

    @ApiModelProperty(value = "支付类型")
    @TableField("payment_type")
    private String paymentType;

    @ApiModelProperty(value = "订单来源")
    @TableField("source_type")
    private String sourceType;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "订单创建时间")
    @TableField("create_time")
    private LocalDate createTime;

    @ApiModelProperty(value = "订单更新时间")
    @TableField("update_time")
    private LocalDate updateTime;

    @ApiModelProperty(value = "收车人地区名称")
    @TableField("receiver_area_name")
    private String receiverAreaName;

    @ApiModelProperty(value = "收货人手机")
    @TableField("receiver_mobile")
    private String receiverMobile;

    @ApiModelProperty(value = "支付宝流水号")
    @TableField("trade_no")
    private String tradeNo;


}
